from ftllibs.items.itemtools import ItemIconData

class Item_3111():
    def __init__(self):
        self.parent=False
        self.Name="Mercury's Treads"
        self.IconFileName="3111.png"
        self.ID=3111
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1001','1033']
        self.Builds_Into=[]
        self.Tags=['spell_block','movement']
        self.Costs = 450
        self.Total_Costs = 1200
        self.Description="+25 Magic Resist  UNIQUE Passive: Enhanced Movement 2 (does not stack with other Boots)  UNIQUE Passive: +35 Tenacity (Tenacity reduces the duration of stuns, slows, taunts, fears, silences, blinds and immobilizes. Does not stack with other Tenacity items.)"
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Magic_Resist += 25.0
        self.parent.Movement_Speed += 70.0
        self.parent.Tenacity=True
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

